class NumberRangeException extends Exception {
    public NumberRangeException(String msg) {
        super(msg);
    }
}

public class Client {
    public static void main(String[] args) throws NumberRangeException {
        int score = -1;
        if (score < 0 || score > 100) {
            throw new NumberRangeException("成绩越界了！");
        }
    }
}
